<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title>iNET- Tiện ích văn phòng</title>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <link rel="shortcut icon" href="TienIchVanPhong/resources/images/logo.png" />
        <h:outputStylesheet library="css" name="menu.css"/>
        <h:outputStylesheet library="css" name="style.css"/>
        <h:outputStylesheet library="css" name="BeatPicker.min.css"/>
        <h:outputScript library="js" name="jquery-1.11.0.min.js"/>
        <h:outputScript library="js" name="BeatPicker.min.js"/>

    </h:head>
    <h:body>
        <h:form>

            <!--Start header-->
            <ui:include src="/resources/template/header.xhtml"/>
            <!--end header-->

            <div class="main">
                <!-- Menu left-->

                <ui:include src="/resources/template/left.xhtml"/>

                <!--end menu left-->

                <!--nội dung-->
                
                    <div class="right"> <br/>
                    <p align="center"><b>VỊ TRÍ LÀM VIỆC</b></p>
                    <div class="controll">
                        <table style="margin: 0 auto;">
                            <tr>
                                <td>
                                    <table class="tblemp">
                                        <tr>
                                            <td colspan="3">
                                                <p style="margin: 10px" align="center"><b>Vị trí trong làm việc</b></p>  
                                            </td>  

                                        </tr>
                                        <tr>
                                            <td class="rowemp">Công ty:</td>
                                            <td class="rowemp1">
                                                <h:selectOneMenu id="txtCongTy" class="chonadd" disabled="true"  pt:required="">
                                                    <f:selectItem itemLabel="Công ty cổ phần iNet" />    
                                                </h:selectOneMenu> 

                                            </td>
                                            <td class="rowemp2"></td>
                                        </tr>
                                        <tr>
                                            <td class="rowemp">Chức vụ:</td>
                                            <td class="rowemp1">
                                                <h:inputText class="inputadd" id="cvcongty" pt:placeholder="Chức vụ trong công ty" pt:required=""/>
                                            </td>
                                            <td class="rowemp2"></td>
                                        </tr>
                                        <tr>
                                            <td class="rowemp">Trung tâm:</td>
                                            <td class="rowemp1">
                                                <h:selectOneMenu id="txtTrungTam" class="chonadd"  pt:required="">
                                                    <f:selectItem itemLabel="---Chọn một trung tâm---" itemValue="0" /> 
                                                    <f:selectItems value="#{branchController.listBranch}" var="b" itemLabel="#{b.branch_name}" itemValue="#{b.branch_id}" />
                                                   
                                                </h:selectOneMenu> 

                                            </td>
                                            <td class="rowemp2"></td>
                                        </tr>
                                        <tr>
                                            <td class="rowemp">Chức vụ:</td>
                                            <td class="rowemp1">
                                                <h:inputText  class="inputadd" id="cvtrungtam" pt:placeholder="Chức vụ trong trung tâm" pt:required=""/>
                                            </td>
                                            <td class="rowemp2"></td>
                                        </tr>
                                        <tr>
                                            <td class="rowemp">Phòng ban:</td>
                                            <td class="rowemp1">
                                                <h:selectOneMenu id="txtPhongBan" class="chonadd"> 
                                                    <f:selectItem itemValue="0" itemLabel="---Chọn 1 phòng ban---"/>
                                                    <f:selectItems value="#{departmentController.lstDepartment}" var="d" itemValue="#{d.dep_id}" itemLabel="#{d.dep_name}" />
                                                </h:selectOneMenu>
                                            </td>
                                            <td class="rowemp2"></td>
                                        </tr>
                                        <tr>
                                            <td class="rowemp">Chức vụ:</td>
                                            <td class="rowemp1">
                                                <h:inputText class="inputadd" id="cvphong" pt:placeholder="Chức vụ trong phòng" pt:required=""/>
                                            </td>
                                            <td class="rowemp2"></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <br/>
                    <br/>                      
                </div>
                
                <!-- end dội dung-->
            </div>
            <!--Footer-->
            <ui:include src="/resources/template/footer.xhtml"/>
            <!--end footer-->

        </h:form>
    </h:body>
</html>

